docs: Replace mentions of drawable with window in migration guide
authorBenjamin Otte <otte@redhat.com>
Wed, 24 Nov 2010 13:26:04 +0000 (14:26 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 2 Dec 2010 19:21:04 +0000 (20:21 +0100)
No need to let gtk3-aware people learn about wonderous gtk2 terms when
they are migrating old code. ;)

docs/reference/gtk/migrating-2to3.xml

index d150987e1147ad3886a6da7c70f0c1d8d31fe563..fc39ff1e244a953b51938235a44775ff7c072906 100644 (file)
       them, are gone. This includes the <literal>gdk_draw</literal> family
       of functions like gdk_draw_rectangle() and gdk_draw_drawable(). As
       #GdkGC is roughly equivalent to #cairo_t and #GdkImage was used for
-      drawing images to GdkDrawables, which cairo supports automatically,
+      drawing images to GdkWindows, which cairo supports automatically,
       a transition is usually straightforward.
     </para>
     <para>
       was replaced.
     </para>
     <example>
-       <title>Drawing a GdkPixbuf onto a GdkDrawable</title>
+       <title>Drawing a GdkPixbuf onto a GdkWindow</title>
          <para>
            Drawing a pixbuf onto a drawable used to be done like this:
 <programlisting><![CDATA[
@@ -170,7 +170,7 @@ cairo_destroy (cr);
          </para>
       </example>
       <example>
-        <title>Drawing a tiled GdkPixmap to a GdkDrawable</title>
+        <title>Drawing a tiled GdkPixmap to a GdkWindow</title>
         <para>
           Tiled pixmaps are often used for drawing backgrounds.
           Old code looked something like this: